//
//  SetSystemViewController.m
//  hello mui
//
//  Created by zhangtao on 15/9/16.
//  Copyright (c) 2015年 zt.td. All rights reserved.
//

#import "SetSystemViewController.h"

@interface SetSystemViewController ()
@property (weak, nonatomic) IBOutlet UISwitch *switch_1;
@property (weak, nonatomic) IBOutlet UISwitch *switch_2;
@property (strong, nonatomic) IBOutlet UISwitch *switch_3;

@property (weak, nonatomic) IBOutlet UISwitch *switch_4;
@property (weak, nonatomic) IBOutlet UISwitch *switch_5;
@property (weak, nonatomic) IBOutlet UISwitch *switch_6;
@property (weak, nonatomic) IBOutlet UISwitch *switch_7;

@property (weak, nonatomic) IBOutlet UIView *a;
@property (weak, nonatomic) IBOutlet UIView *b;
@property (weak, nonatomic) IBOutlet UIView *c;

@property (weak, nonatomic) IBOutlet UIView *d;
@property (weak, nonatomic) IBOutlet UIView *e;

@property (weak, nonatomic) IBOutlet UIView *f;

@property (weak, nonatomic) IBOutlet UIView *g;
@end

@implementation SetSystemViewController

//-(void)viewWillAppear:(BOOL)animated{
//    self.tabBarController.tabBar.hidden = YES;
//}

- (void)viewDidLoad {
    self.view.backgroundColor = VIEWCO;
    self.title = @"系统设置";

    [super viewDidLoad];
    self.navigationController.navigationBar.tintColor = [UIColor whiteColor];
    // Do any additional setup after loading the view from its nib.
    _switch_2.frame = CGRectMake(MAIN_WIDTH-60, 5, 40, 20);
    _switch_3 =[[UISwitch alloc]initWithFrame: CGRectMake(MAIN_WIDTH-60, 5, 40, 20)];
    
    _a.layer.borderColor = _b.layer.borderColor = _c.layer.borderColor =_d.layer.borderColor=_e.layer.borderColor=_f.layer.borderColor=_g.layer.borderColor = rgb_box;
    _a.layer.borderWidth = _b.layer.borderWidth = _c.layer.borderWidth=_d.layer.borderWidth=_e.layer.borderWidth=_f.layer.borderWidth=_g.layer.borderWidth = 1;
    

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
